Canvas Pollution Solution Edition
code:python
import requests
from flask import Flask
from flask import Response
app = Flask(__name__)
@app.route('/gyazo.com/<hash>')
def gyazo(hash):
r = requests.get(url, allow_redirects=True)
r = Response(r.content, mimetype="image/png")
return r
---
This page is auto-translated from /nishio/キャンバス汚染解決編. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.